<ul class="nav nav-tabs">
	<li ng-class="{'active':pagedata.op=='get'}"><a href="javascript:;" ng-click="access()">开发者资料设置</a></li>

</ul>
<div id="editform" class="form-horizontal form">
	<div class="panel panel-info">
		<div class="panel-heading">开发者资料</div>
		<div class="panel-body">
		        <div class="form-group" >
					<label class="col-xs-12 col-sm-3 col-md-2 left-label">开发者类型</label>
					<div class="col-sm-8">
						<div class="radio radio-inline" ng-repeat="(value,dtitle) in pagedata.types">
									<input id="type-{{value}}" name="type" type="radio" value="{{value}}" ng-model="pagedata.item.type"/>
									<label for="type-{{value}}">
													{{dtitle}}
									</label>
						</div>
						<div class="help-block">选择开发者类型</div>
					</div>
				</div>
				<div class="form-group" >
					<label ng-show="pagedata.item.type!=2" class="col-xs-12 col-sm-3 col-md-2 left-label">姓名</label>
					<label ng-show="pagedata.item.type==2" class="col-xs-12 col-sm-3 col-md-2 left-label">公司名称</label>
					<div class="col-sm-8">
						<input type="text" name="keywords" class="form-control " ng-model="pagedata.item.name"/>
						<div class="help-block"></div>
					</div>
				</div>
                <div class="form-group" >
					<label ng-show="pagedata.item.type!=2" class="col-xs-12 col-sm-3 col-md-2 left-label">身份证号码</label>
					<label ng-show="pagedata.item.type==2" class="col-xs-12 col-sm-3 col-md-2 left-label">营业执照编号</label>
					<div class="col-sm-8">
						<input type="text" name="keywords" class="form-control " ng-model="pagedata.item.number"/>
						<div class="help-block"></div>
					</div>
				</div>
				<div class="form-group">
					<label ng-show="pagedata.item.type!=2" class="col-xs-12 col-sm-3 col-md-2 left-label">身份证正面照</label>
					<label ng-show="pagedata.item.type==2" class="col-xs-12 col-sm-3 col-md-2 left-label">营业执照正面照</label>
					<div class="col-sm-8">
						<div class="input-group">
							<input type="text" ng-model="pagedata.item.picurl" class="form-control" autocomplete="off">
							<span class="input-group-btn">
								<button class="btn btn-default" type="button" ng-click="image1(pagedata.item,'picurl')">选择图片</button>
							</span>
						</div>
						<div class="input-group" style="margin-top:.5em;">
							<img ng-src="{{tomedia(pagedata.item.picurl) || '../core/resource/images/nopic.jpg'}}" class="img-responsive img-thumbnail" width="150" />
						</div>
					</div>
				</div>
                <div class="form-group" >
					<label class="col-xs-12 col-sm-3 col-md-2 left-label">支付宝账号</label>
					<div class="col-sm-8">
						<input type="text" class="form-control " ng-model="pagedata.item.alipay"/>
						<div class="help-block"></div>
					</div>
				</div>
				<div class="form-group" >
					<label class="col-xs-12 col-sm-3 col-md-2 left-label">联系手机</label>
					<div class="col-sm-8">
						<input type="text" class="form-control " ng-model="pagedata.item.mobile"/>
						<div class="help-block">输入正确的手机号码</div>
					</div>
				</div>
		</div>
	</div>
	<div class="jinyun_bar border tc with_form">
			<button  class="btn btn_input btn-primary" ng-click="post(pagedata.item,'post')">提交</button>
	</div>
</div>